        ((Base)d).DoWork(val);  // Calls DoWork(int) on Derived.